<%@ include file="include.jsp" %>

<h3>Detailed information about People: </h3>

<!-- get is a read only function -->
<!-- post modifies data - destroys it, changes it -->

<form action="personsearch.html" method="post">
Fullname: <input type="text" name="fullname" value="enter fullname here">
<br>
<input type="submit" name="submit" value="Get Person Now!">
</form>

<!-- type is what it is doing, name is the request parameter (what server sees), value is what user sees -->  

<c:forEach var="person" items="${personList}">

Full Name: ${person.fullname}
<ul> 
	<li>Church Name: ${person.churchname}</li>
	<li>Age: ${person.age}</li>
	<li>Gender: ${person.gender}</li>
	
</ul>

</c:forEach>
	
